Skip to content

🎨 Palette: [UX improvement] - Enhance SPEED CLICKER with colors and immediate feedback#19

Open
aidasofialily-cmd wants to merge 2 commits intomainfrom
palette-ux-improvement-14669191294698993327
Open

🎨 Palette: [UX improvement] - Enhance SPEED CLICKER with colors and immediate feedback#19
aidasofialily-cmd wants to merge 2 commits intomainfrom
palette-ux-improvement-14669191294698993327

Conversation

@aidasofialily-cmd
Copy link
Copy Markdown
Owner

The SPEED CLICKER game now features a more vibrant and responsive terminal interface.

💡 What

  • Visual Polish: Integrated ANSI escape codes to provide a professional and engaging look. The score is now highlighted in bold green, while game modes are clearly distinguished by color (Red for FAST, Blue for NORMAL).
  • Tactile Feedback: Refactored the game loop to use an updateUI flag, ensuring the score updates immediately upon a user's keypress rather than waiting for the next timer tick.
  • UI Stability: Mode toggles (Hard Mode) now happen in-place without printing new lines, keeping the terminal history clean and maintaining the "single-line" application feel.

🎯 Why

The previous version felt static and sometimes laggy, as user clicks weren't immediately reflected in the score display. Additionally, toggling game modes broke the visual flow by pushing the score display down with new lines.

♿ Accessibility

  • High Contrast: Used bold ANSI colors to ensure critical game information (score and mode) stands out against the terminal background.
  • Clear Indicators: Mode changes are now signaled by both color and text changes ([FAST] vs [NORMAL]), providing multiple cues for the user.

PR created automatically by Jules for task 14669191294698993327 started by @aidasofialily-cmd

…mmediate feedback

- Added ANSI color coding (Green for score, Red for Hard Mode, Blue for Normal Mode).
- Implemented immediate UI updates on keypress for better tactile feedback.
- Centralized UI rendering to ensure consistent state and clean terminal history.
- Added bold styling to headers and final score summary.
- Updated .Jules/palette.md with learnings.

Co-authored-by: aidasofialily-cmd <247843425+aidasofialily-cmd@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

- Enhanced SPEED CLICKER with ANSI colors (Green/Red/Blue/Yellow) and bold text.
- Implemented immediate tactile feedback by updating the UI on every keypress.
- Fixed broken CI by replacing the Rust workflow with a proper C++ build workflow using `make`.
- Updated .Jules/palette.md with UX and terminal feedback learnings.

Co-authored-by: aidasofialily-cmd <247843425+aidasofialily-cmd@users.noreply.github.com>
Copy link
Copy Markdown
Owner Author

@aidasofialily-cmd aidasofialily-cmd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deleteing this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant